package acceptanceTests.promoteUser;

public interface PromoteUserInt {

	/**
	 * set user to be administrator hard-coded
	 * @param user
	 */
	boolean setAdmin(String user);

	/**
	 * 
	 * @param user
	 * @return true if user is rank as administrator
	 */
	boolean isAdmin(String user);

	/**
	 * 
	 * @param user
	 * @return true if user is rank as moderator
	 */
	boolean isModerator(String user);

	/**
	 * administrator tries to promote member one step higher.
	 * if user admin is not an administrator return false
	 * @param admin - to do the promotion
	 * @param member - to be promoted
	 * @return false if user admin is not an administrator
	 */
	boolean Promote(String admin, String member);

}
